home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 10134 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.7 KB

  1. Path: EU.net!sun4nl!xs4all!usenet
  2. From: jtv@xs4all.nl (Jeroen T. Vermeulen)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: New Press Release!
  5. Date: Wed, 27 Mar 96 22:06:21
  6. Organization: Leiden University, Mathematics & Computer Science, The Netherlands
  7. Distribution: world
  8. Message-ID: <19960327.7BACD20.13AE9@asd11-03.dial.xs4all.nl>
  9. References: <4iofm6$e4j@serpens.rhein.de> <DoLC38.2G4@info.uucp>     <4ir19b$mml@serpens.rhein.de> <oj6wx4dne22.fsf@hpsrk.fc.hp.com> <4ivdqe$62a@serpens.rhein.de> <19960323.75240E0.D624@contessa.phone.net> <4j37re$k6q@serpens.rhein.de> <19960325.7665B58.91C6@contessa.phone.net>
  10. NNTP-Posting-Host: asd11-03.dial.xs4all.nl
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=iso-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-NewsSoftware: GRn 2.1 Feb 19, 1994
  15.  
  16. In article <19960325.7665B58.91C6@contessa.phone.net> mwm@contessa.phone.net
  17. (Mike Meyer) writes:
  18.  
  19. > Thrashing is normally used to indicate the situation where something
  20. > is BROKEN in the demand paging system, such that you're spending more
  21. > time waiting on pages than performing user functionality.
  22.  
  23. Thrashing is what occurs when your working set exceeds the size of your frame
  24. set (physical memory), so page replacement algorithms that are normally
  25. near-optimal such as LRU hit their worst case and every page in the working set
  26. is swapped out and back in again during every iteration of your outer loop.
  27.  
  28. [ When thrashing occurs, you might actually be better of not using a stack
  29. algorithm and just taking "pot luck" on which pages are kept in core. This does
  30. not mean there is something broken in the demand paging system; that would seem
  31. more likely for pre-paging systems. ]
  32.  
  33. Sometimes there is simply no way of reducing your working set; the program is
  34. going to thrash in that case and there's nothing you can do but sit and wait.
  35. Hence I think Michael is right in saying that thrashing is acceptable for batch
  36. programs (if I understand him correctly):  Users don't hold their breath while
  37. waiting for batch jobs to finish.
  38.  
  39.  
  40. > Of course, none of paging, swapping or thrashing are acceptable in
  41. > systems that demand quick real-time response.
  42.  
  43. Perhaps this should be:  "none of paging, swapping or thrashing are acceptable
  44. for *processes* that demand quick real-time response". Swapping out non-realtime
  45. code and data could actually improve real-time response in some cases because
  46. you have some more memory to trade off for speed.
  47.  
  48. --
  49. ============================================================================
  50. #  Jeroen T. Vermeulen   \"How are we doing kid?"/   Yes, we use Amigas.   #
  51. #---  jtv@xs4all.nl    ---\"Oh, same as always."/--         ...          --#
  52. #jvermeul@wi.leidenuniv.nl \ "That bad, huh?"  /  Got a problem with that? #
  53. "I'm very superstitious about walking under falling masonry"
  54.